package com.publiccms.message;

import java.io.IOException;

import org.microprofile.websocket.WebSocketClient;

public class PingTask implements Runnable {
    private WebSocketClient ws;

    public PingTask(WebSocketClient ws) {
        this.ws = ws;
    }

    @Override
    public void run() {
        try {
            ws.sendString("p:");
        } catch (IOException e) {
        }
    }

}
